package com.zhang.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.gulimall.common.utils.PageUtils;
import com.zhang.gulimall.product.entity.SkuInfoEntity;
import com.zhang.gulimall.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author zhang
 * @email sunlightcs@gmail.com
 * @date 2022-09-14 10:23:17
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByParams(Map<String, Object> params);

    SkuItemVo item(String skuId) throws ExecutionException, InterruptedException;

    List<SkuInfoEntity> listBySkuIds(List<String> ids);
}

